package cn.zjnu.DAO;
import java.sql.ResultSet;
import java.sql.SQLException;

public class EmployeesDAO extends Dao{
	public ResultSet Query(String PY,String DeptId,String CareerId) throws SQLException{
		String sql="select * from Employees where PY='"+PY+"' and DeptId='"+DeptId+"' and CareerId='"+CareerId+"'";
		ResultSet rs=statement.executeQuery(sql);
		return rs;	
	}
}
